#pragma once

#include "FrameOperation.h"

class CDynamicCastClassOperation : public IFrameOperation
{
public:
    CDynamicCastClassOperation(std::shared_ptr<CTypeDescription> InTargetClassDescription)
    {
        TargetClassDescription=InTargetClassDescription;
    }

    virtual EFrameOperationType GetType() const override
    {
        return EFrameOperationType::CastClass;
    }

    std::shared_ptr<CTypeDescription> GetTargetClassDescription() const
    {
        return TargetClassDescription;
    }

protected:
    std::shared_ptr<CTypeDescription> TargetClassDescription;


};